package com.edu.config;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringBootConfiguration;
/**
 * @ProjectName: springboot-demo
 * @Titile: MyBatisConfig
 * @Author: Administrator
 * @Description: mybatis的配置类
 */
@SpringBootConfiguration// 配置类注解，加了这个注解代表就是一个配置类，启动就会加载
@MapperScan("com.edu.mapper") //包扫描注解：告知mybatis的接口在哪个包下
public class MyBatisConfig {
}
